/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.caelum.jdbc.teste;

import br.com.caelum.jdbc.dao.ContatoDAO;
import java.sql.SQLException;

/**
 *
 * @author Igor
 */
public class TestePesquisa {
    public static void main(String[] args) throws SQLException{
        ContatoDAO contato = new ContatoDAO();
        
        String endereco = contato.pesquisa("igor");
        
        System.out.println(endereco);
    }
    
}
